package com.neu.fenli2023623.service;

import com.neu.fenli2023623.dto.DoctorDto;
import com.neu.fenli2023623.entity.Doctor;
import com.neu.fenli2023623.vo.DoctorVo;

import javax.print.Doc;
import java.util.List;

public interface DoctorService {
    List<DoctorVo> selectall();//显示全部医生信息

    int addDoctor(DoctorDto doctor);//新增医生信息

    int deleteDoctorById(Long id);//删除医生信息

    List<Doctor> selectDoctorByName(String name);//模糊查询医生信息

    Doctor selectByPrimaryKey(Long id);

    int updateDoctor(DoctorDto doctorDto);//更新医生信息


}
